home *** CD-ROM | disk | FTP | other *** search
- Path: gatekeeper.liffe.com!usenet
- From: ralph.mason@liffe.com (Ralph Mason)
- Newsgroups: comp.lang.c++
- Subject: Re: An array of structures in C, C++?
- Date: Thu, 25 Jan 1996 13:33:15 GMT
- Organization: London International Financial Futures Exchange
- Message-ID: <4e8137$rq2@gatekeeper.liffe.com>
- References: <4e6j2l$ehm@geraldo.cc.utexas.edu> <4e7f38$bqv@soap.news.pipex.net>
- NNTP-Posting-Host: ralph_pc.liffe.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- "D.S. Mear" <fp53@dial.pipex.com> wrote:
-
- >Yes.
-
- >example:
-
- >typedef struct imag { int x, int y };
-
- why not simply an array. You hardly ever need to typedef in C++
-
- class foo
- {
- private:
- data member;
-
- public:
- void do_foo();
-
- };
-
- foo array[56];
-
-
-
- this rambling is from ralph.mason@liffe.com
- -----------------------------------------------------------------------
- University of Liffe, London UK My views are my own!
-
-
-